<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesAdminCompanyListing.aspx.cs" Inherits="GonzalesAdminCompanyListing" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle"><asp:Label ID="Label_PageTitle" Text='Administration Panel' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="170" rowspan="2" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='Administration :: Company Details and Data Export Listing' /></td>
            <td width="8" rowspan="2" class="VerticalDivider"><p>&nbsp;</p>
                  <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p></td>
            <td valign="top"><asp:Table CellPadding="5" CellSpacing="0" ID="Table_MessageBox" Width="100%" runat="server" Visible="false">
              <asp:TableRow>
                <asp:TableCell CssClass="ErrorBox" ></asp:TableCell>
              </asp:TableRow>
            </asp:Table></td>
          </tr>
          <tr>
            <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0" class="FormBorder">
              <tr>
                <td class="TableResultCriteriaBar"><table width="100%" border="0" cellspacing="0" cellpadding="1">
                  <tr>
                    <td>&nbsp;<asp:DropDownList ID="DropDownList_ByEntity" runat="server" AutoPostBack="True"
                            CssClass="FormDropDown" OnSelectedIndexChanged="DropDownList_ByEntity_SelectedIndexChanged">
                        </asp:DropDownList></td>
                    <td align="right"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortBy" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortBy_SelectedIndexChanged"></asp:DropDownList>
                              <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortOrder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortOrder_SelectedIndexChanged"></asp:DropDownList></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td valign="top"><asp:GridView ID="GridViewResult" runat="server" OnRowCreated="OnRowCreated" AutoGenerateColumns="False" CssClass="FormBorder" PageSize="20" Width="100%" CellPadding="5">
                  <columns>
                    <asp:BoundField DataField="CompanyID" HeaderText="Company ID" HtmlEncode="False">
                      <itemstyle HorizontalAlign="Center" Width="120px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DisplayName" HeaderText="Name">
                      <itemstyle HorizontalAlign="Left" />
                      <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                      <asp:BoundField DataField="Country" HeaderText="Country">
                          <ItemStyle HorizontalAlign="Center" Width="120px" />
                      </asp:BoundField>
                      <asp:BoundField DataField="IsRep" HeaderText="Rep. Office" HtmlEncode="False">
                          <ItemStyle HorizontalAlign="Center" Width="100px" />
                      </asp:BoundField>
                    <asp:BoundField DataField="CCPaymentInString" HeaderText="Credit Card Payment Type" HtmlEncode="False">
                      <itemstyle HorizontalAlign="Center" Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ExpiryDate" HeaderText="Claims Valid Period" HtmlEncode="False">
                      <itemstyle HorizontalAlign="Center" Width="80px" />
                    </asp:BoundField>
                    </columns>
                  <RowStyle CssClass="GridViewItem" />
                  <headerstyle CssClass="GridViewHeader" />
                </asp:GridView>
                </td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>
